package com.thxr.sso.server.service;

import com.thxr.sso.client.rpc.Result;
import com.thxr.sso.client.rpc.RpcUser;

/**
 * 用户服务接口
 */
public interface UserService {

	Result<RpcUser> login(String account, String password);

	Result findByAccount(String account);

	Integer changepwd(String account,String oldPassword,String newPassword);
}
